Skip to content

Conversation

@michelle0927
Copy link
Collaborator

@michelle0927 michelle0927 commented Oct 24, 2025

Resolves #18840

Summary by CodeRabbit

  • New Features

    • Added optional Comment field for comment actions with automatic format conversion
    • Added comment selection in issue workflows and improved issue picker (tasks-only option)
  • Bug Fixes

    • Validation to require comment or body where appropriate
    • Fixed assorted wording/grammar in action descriptions
  • Documentation

    • Standardized wording to "documentation" across actions
  • Chores

    • UI label capitalization and minor label tweaks
    • Removed unused fields from version creation
    • Version bumps across multiple components and package

@vercel
Copy link

vercel bot commented Oct 24, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
pipedream-docs Ignored Ignored Oct 24, 2025 6:06pm
pipedream-docs-redirect-do-not-edit Ignored Ignored Oct 24, 2025 6:06pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 24, 2025

Walkthrough

Multiple Jira components received metadata and UI text refinements (docs → documentation, punctuation, capitalization) and version bumps. Functional edits include adding a comment prop and validation to comment-related actions, propDefinition conversions for several props, removal of some create-version fields, and a new commentId prop with paginated options in jira.app.mjs.

Changes

Cohort / File(s) Summary
Description & version bumps
components/jira/actions/add-attachment-to-issue/add-attachment-to-issue.mjs, components/jira/actions/add-multiple-attachments-to-issue/add-multiple-attachments-to-issue.mjs, components/jira/actions/add-watcher-to-issue/add-watcher-to-issue.mjs, components/jira/actions/assign-issue/assign-issue.mjs, components/jira/actions/delete-project/delete-project.mjs, components/jira/actions/get-user/get-user.mjs, components/jira/actions/get-users/get-users.mjs, components/jira/actions/list-issue-comments/list-issue-comments.mjs, components/jira/actions/transition-issue/transition-issue.mjs, components/jira/actions/update-issue/update-issue.mjs
Updated description wording ("docs" → "documentation"), adjusted punctuation/capitalization, and incremented action versions.
Comment-related action changes
components/jira/actions/add-comment-to-issue/add-comment-to-issue.mjs, components/jira/actions/update-comment/update-comment.mjs
Added optional comment prop (string); added validation requiring either comment or body; convert comment to Atlassian Document Format when used; added ConfigurationError import; switched some props to propDefinition; updated run logic and summaries; bumped versions.
PropDefinition conversions
components/jira/actions/get-task/get-task.mjs, components/jira/actions/get-transitions/get-transitions.mjs, components/jira/actions/update-comment/update-comment.mjs
Replaced simple string props with propDefinition declarations (e.g., taskId, transitionId, commentId) to wire cloudId/issue context and enable option resolvers; adjusted labels/descriptions and related output text.
Create version schema & payload changes
components/jira/actions/create-version/create-version.mjs
Removed released and moveUnfixedIssuesTo props and removed them from the run payload; adjusted labels/capitalization and descriptions; bumped version.
UI label & prop description refinements
components/jira/actions/create-issue/create-issue.mjs, components/jira/actions/get-all-projects/get-all-projects.mjs, components/jira/actions/get-issue/get-issue.mjs, components/jira/actions/list-issue-comments/list-issue-comments.mjs
Capitalized labels (e.g., "Update History", "Order By"), fixed description grammar/punctuation, and bumped versions.
Common module edits
components/jira/actions/common/issue.mjs
Fixed wording and punctuation in public prop descriptions (historyMetadata, properties, update).
App manifest & prop additions
components/jira/jira.app.mjs, components/jira/package.json
Added commentId propDefinition with async options that paginate issue comments; issueIdOrKey options now accept tasksOnly and compute JQL; label/description refinements; package version bumped to 1.1.1. Note: commentId declaration appears duplicated in two public sections.
Source metadata updates
components/jira/sources/events/events.mjs, components/jira/sources/issue-created/issue-created.mjs, components/jira/sources/issue-deleted/issue-deleted.mjs, components/jira/sources/issue-updated/issue-updated.mjs
Fixed typo in events description, updated wording to "documentation", and bumped source versions.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant Action as Add/Update Comment Action
    participant Validator as Input Validator
    participant Converter as atlassianDocumentFormat
    participant Jira as Jira API

    User->>Action: Submit props (issueIdOrKey, body?, comment?)
    Action->>Validator: Ensure body OR comment present
    alt neither provided
        Validator-->>Action: throw ConfigurationError
        Action-->>User: Error
    else comment provided (no body)
        Action->>Converter: Convert comment -> Atlassian Document Format
        Converter-->>Action: document format
        Action->>Jira: POST/PUT with converted body
    else body provided
        Action->>Jira: POST/PUT with body as-is
    end
    Jira-->>Action: Success response
    Action-->>User: Success summary
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • lcaresia

Poem

🐰 Hopping through fields with a careful paw,

Comments now convert to the format they saw,
Docs turned to documentation, versions climb,
PropDefinitions hop in, tidy and prime,
The little rabbit applauds this tidy Jira rhyme. 🥕

Pre-merge checks and finishing touches

❌ Failed checks (3 warnings, 1 inconclusive)
Check name Status Explanation Resolution
Out of Scope Changes Check ⚠️ Warning While the core fix for issue #18840 (adding comment prop support) is in scope, the PR includes numerous out-of-scope changes across the Jira component. These include: documentation string updates changing "docs" to "documentation" in 15+ action files, version bumps across unrelated actions, UI label capitalization changes (e.g., "Update history" to "Update History"), and modifications to actions like add-attachment-to-issue, create-version, and get-transitions that are unrelated to the linked issue. These additional changes appear to be part of a broader refactoring effort rather than requirements for resolving issue #18840.
Description Check ⚠️ Warning The PR description only contains "Resolves #18840" and does not follow the required template structure, which specifies a "WHY" section that must be completed by the author. The description is incomplete and lacks explanation of the problem being solved, why the changes are necessary, or how they address the issue. While the reference to the issue is helpful, the description does not meet the template requirements or provide sufficient context for reviewers.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
Title Check ❓ Inconclusive The title "Jira - improvements" is vague and generic, using non-descriptive terms that don't convey meaningful information about the changeset. While the title is related to Jira (the domain of the changes), it doesn't communicate what specific improvements are being made or what the primary change is. A developer scanning the commit history would not understand the main purpose of this PR from the title alone.
✅ Passed checks (1 passed)
Check name Status Explanation
Linked Issues Check ✅ Passed The primary requirement from issue #18840 is directly addressed by the changes to add-comment-to-issue.mjs. The PR successfully adds a new comment property that provides an alternative, more intuitive way to specify comments (the original issue cited confusion around configuring the body prop). The implementation includes validation to ensure either comment or body is provided, with conversion to Atlassian Document Format when needed. This resolves the core problem described in the linked issue regarding action usability and configuration clarity.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch issue-18840

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 6

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
components/jira/jira.app.mjs (2)

635-659: Pagination termination bug in getResourcesStream

Checking nextResources.length on an object always returns undefined, causing early termination after first page. Use the filtered items length.

       while (true) {
         const nextResources = await resourceFn({
@@
         page += 1;
-        const filteredResource = resourceFiltererFn(nextResources);
-        for (const resource of filteredResource) {
+        const items = resourceFiltererFn(nextResources) || [];
+        for (const resource of items) {
           yield resource;
         }
-        if (!nextResources.length) {
-          return;
-        }
+        // Stop if this page returned fewer than pageSize items
+        if (items.length < pageSize) return;
       }

167-170: Fix typo in jqlFilter description

Minor typo.

-      description: "This is required for webhok creation",
+      description: "This is required for webhook creation",
🧹 Nitpick comments (5)
components/jira/actions/get-task/get-task.mjs (1)

41-41: Summary message now less informative but more robust.

The summary changed from displaying the task title (response.title) to echoing back the input task ID. While this makes the code more defensive against unexpected response structures, users no longer see the descriptive task title in the output.

This is acceptable as a defensive coding practice, though consider whether the response actually contains useful metadata (like status or description) that could enhance the summary without introducing fragility.

components/jira/actions/search-issues-with-jql/search-issues-with-jql.mjs (3)

27-35: Validate page-size cap vs API limits.

UI allows maxResults up to 5000, while per-page clamp is 1000. Some Jira search endpoints cap at 100. If the backend caps at 100, oversized page requests waste retries or error.

  • Confirm the actual cap for the underlying API call used by jira.searchIssues. If it’s 100, adjust getMaxResultsPerPage() accordingly.
-  getMaxResultsPerPage() {
-    return Math.min(this.maxResults, 1000);
-  },
+  // If API cap is 100, reduce to 100; otherwise keep 1000.
+  getMaxResultsPerPage() {
+    const API_PAGE_CAP = 100; // set to 1000 if supported by the wrapper
+    return Math.min(this.maxResults, API_PAGE_CAP);
+  },

Also applies to: 99-101


36-42: Consider safer default for fields.

Defaulting to "*all" can bloat payloads and slow searches. Consider "*navigable" or a minimal default like "key,issuetype,summary,status".


91-96: Props alignment: failFast vs validateQuery.

JQL search typically exposes validateQuery (strict/warn/none). Please confirm failFast is a valid param for this call. If not, consider replacing or adding validateQuery.

     failFast: {
       type: "boolean",
       label: "Fail Fast",
       description: "Fail this request early if we can't retrieve all field data",
       optional: true,
     },
+    // Optional: add validateQuery if supported by the wrapper/API
+    // validateQuery: {
+    //   type: "string",
+    //   label: "Validate Query",
+    //   description: "Controls JQL validation (e.g., 'strict', 'warn', 'none')",
+    //   optional: true,
+    //   options: ["strict", "warn", "none"],
+    // },

And pass it through in params if available.

Also applies to: 146-171

components/jira/jira.app.mjs (1)

317-354: Make commentId options more robust and user-friendly

  • Add expand=renderedBody so we can fall back to readable text.
  • Build label defensively from ADF or rendered HTML.
       async options({
         prevContext, issueIdOrKey, cloudId,
       }) {
@@
         let { startAt } = prevContext || {};
         const pageSize = 50;
         try {
           const resp = await this.listIssueComments({
             issueIdOrKey,
             cloudId,
             params: {
               startAt,
               maxResults: pageSize,
+              expand: "renderedBody",
             },
           });
@@
           return {
-            options: resp?.comments?.map((comment) => ({
-              value: comment.id,
-              label: comment.body?.content[0]?.content[0]?.text || comment.id,
-            })),
+            options: resp?.comments?.map((comment) => {
+              // Try ADF -> flatten first paragraph text; else strip HTML from renderedBody; else fallback to id
+              const adfText = Array.isArray(comment.body?.content)
+                ? comment.body.content
+                    .flatMap((blk) => Array.isArray(blk?.content) ? blk.content : [])
+                    .map((n) => n?.text)
+                    .filter(Boolean)
+                    .join(" ")
+                : "";
+              const rendered = typeof comment.renderedBody === "string"
+                ? comment.renderedBody.replace(/<[^>]+>/g, "")
+                : "";
+              const label = (adfText || rendered || "").trim().slice(0, 80) || comment.id;
+              return { value: comment.id, label };
+            }),
           context: {
             startAt,
           },
         };
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2c5f4f2 and 02c5678.

📒 Files selected for processing (27)
  • components/jira/actions/add-attachment-to-issue/add-attachment-to-issue.mjs (1 hunks)
  • components/jira/actions/add-comment-to-issue/add-comment-to-issue.mjs (3 hunks)
  • components/jira/actions/add-multiple-attachments-to-issue/add-multiple-attachments-to-issue.mjs (1 hunks)
  • components/jira/actions/add-watcher-to-issue/add-watcher-to-issue.mjs (1 hunks)
  • components/jira/actions/assign-issue/assign-issue.mjs (1 hunks)
  • components/jira/actions/common/issue.mjs (1 hunks)
  • components/jira/actions/create-custom-field-options-context/create-custom-field-options-context.mjs (1 hunks)
  • components/jira/actions/create-issue/create-issue.mjs (2 hunks)
  • components/jira/actions/create-version/create-version.mjs (2 hunks)
  • components/jira/actions/delete-project/delete-project.mjs (2 hunks)
  • components/jira/actions/get-all-projects/get-all-projects.mjs (3 hunks)
  • components/jira/actions/get-issue/get-issue.mjs (3 hunks)
  • components/jira/actions/get-task/get-task.mjs (3 hunks)
  • components/jira/actions/get-transitions/get-transitions.mjs (2 hunks)
  • components/jira/actions/get-user/get-user.mjs (1 hunks)
  • components/jira/actions/get-users/get-users.mjs (1 hunks)
  • components/jira/actions/list-issue-comments/list-issue-comments.mjs (2 hunks)
  • components/jira/actions/search-issues-with-jql/search-issues-with-jql.mjs (1 hunks)
  • components/jira/actions/transition-issue/transition-issue.mjs (2 hunks)
  • components/jira/actions/update-comment/update-comment.mjs (5 hunks)
  • components/jira/actions/update-issue/update-issue.mjs (2 hunks)
  • components/jira/jira.app.mjs (7 hunks)
  • components/jira/package.json (1 hunks)
  • components/jira/sources/events/events.mjs (2 hunks)
  • components/jira/sources/issue-created/issue-created.mjs (1 hunks)
  • components/jira/sources/issue-deleted/issue-deleted.mjs (1 hunks)
  • components/jira/sources/issue-updated/issue-updated.mjs (1 hunks)
🧰 Additional context used
🧬 Code graph analysis (2)
components/jira/actions/add-comment-to-issue/add-comment-to-issue.mjs (1)
components/jira/actions/update-comment/update-comment.mjs (2)
  • visibility (100-100)
  • body (94-98)
components/jira/actions/update-comment/update-comment.mjs (1)
components/jira/actions/add-comment-to-issue/add-comment-to-issue.mjs (1)
  • body (79-81)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
  • GitHub Check: Publish TypeScript components
  • GitHub Check: Ensure component commits modify component versions
  • GitHub Check: Verify TypeScript components
  • GitHub Check: pnpm publish
  • GitHub Check: Lint Code Base
🔇 Additional comments (33)
components/jira/sources/issue-deleted/issue-deleted.mjs (1)

7-7: Version bump as part of metadata updates.

The version increment is consistent with the PR's broader pattern of updating Jira component metadata. No behavioral changes detected.

components/jira/actions/add-multiple-attachments-to-issue/add-multiple-attachments-to-issue.mjs (1)

8-9: LGTM: Minor metadata improvements.

The description wording change from "docs" to "documentation" improves consistency, and the patch version bump is appropriate for documentation-only changes.

components/jira/actions/create-custom-field-options-context/create-custom-field-options-context.mjs (1)

7-8: URL verified. Metadata refinements are appropriate.

The Jira API documentation link returns HTTP 200, confirming the endpoint is accessible and correctly referenced. The description text refinement and version bump are appropriate for this metadata-only change.

components/jira/sources/issue-updated/issue-updated.mjs (1)

7-7: Clarify the reason for the version bump.

This file only shows a version increment with no accompanying code, metadata, or behavioral changes. Since the PR objectives focus on fixing the jira-add-comment-to-issue action and this file is an unrelated event source, it's unclear why this version bump is necessary.

Please confirm whether this version bump is intentional and explain what changes justify it, or consider reverting it if no actual modifications were made to this component.

components/jira/package.json (1)

3-3: LGTM! Appropriate version bump.

The patch version increment aligns with the metadata and documentation improvements across the Jira components.

components/jira/sources/issue-created/issue-created.mjs (1)

7-7: LGTM! Version bump is appropriate.

The version increment is consistent with the metadata updates across the PR.

components/jira/actions/add-watcher-to-issue/add-watcher-to-issue.mjs (1)

6-6: LGTM! Metadata improvements are appropriate.

The version bump and documentation link text update improve consistency across Jira actions.

Also applies to: 12-12

components/jira/actions/assign-issue/assign-issue.mjs (1)

6-6: LGTM! Consistent metadata improvements.

The version increment and documentation reference update align with the standardization pattern across the PR.

Also applies to: 12-12

components/jira/sources/events/events.mjs (1)

7-8: LGTM! Good metadata improvements.

The version bump and documentation reference are consistent with the PR pattern. The events prop description improvement on Line 17 provides clearer guidance to users.

Also applies to: 17-17

components/jira/actions/get-user/get-user.mjs (1)

6-7: LGTM! Metadata and grammar improvements.

The version bump, documentation reference update, and punctuation correction enhance consistency across Jira actions.

components/jira/actions/add-attachment-to-issue/add-attachment-to-issue.mjs (1)

8-9: LGTM! Consistent metadata updates.

The version bump and documentation reference improvement align with the standardization effort across the PR.

components/jira/actions/get-all-projects/get-all-projects.mjs (1)

6-7: LGTM! Good metadata and UI improvements.

The changes enhance user experience through:

  • Consistent documentation references
  • More descriptive label on Line 24 ("Recent Projects" vs "Recent")
  • Grammar correction on Line 33 ("added or updated" vs "add or update")

Also applies to: 24-24, 33-33

components/jira/actions/update-issue/update-issue.mjs (1)

10-11: LGTM! Metadata improvements enhance consistency.

The updates to documentation links, version bump, and description punctuation cleanup improve the action's metadata consistency across the codebase.

Also applies to: 88-88

components/jira/actions/create-issue/create-issue.mjs (1)

9-10: LGTM! Consistent metadata and UI improvements.

The documentation link update, version bump, and Title Case label capitalization align with best practices for UI presentation.

Also applies to: 21-22

components/jira/actions/get-issue/get-issue.mjs (1)

6-7: LGTM! Metadata consistency improvements.

The updates standardize documentation references, bump the version appropriately, and apply Title Case to labels for better UI consistency.

Also applies to: 39-39, 52-53

components/jira/actions/delete-project/delete-project.mjs (1)

6-7: LGTM! Consistent documentation and UI improvements.

The metadata updates maintain consistency with the broader set of Jira action improvements in this PR.

Also applies to: 33-34

components/jira/actions/transition-issue/transition-issue.mjs (1)

7-8: LGTM! Comprehensive metadata standardization.

The updates improve documentation consistency and UI presentation across multiple props, maintaining alignment with the broader Jira action improvements in this PR.

Also applies to: 52-52, 57-58, 64-64, 69-70

components/jira/actions/get-task/get-task.mjs (2)

6-7: LGTM!

Documentation wording improvement and version increment are appropriate.


23-30: No action required — verification confirms implementation is correct.

The issueIdOrKey propDefinition properly supports the tasksOnly parameter and correctly filters for task IDs. When tasksOnly: true, the JQL query specifically filters for issuetype = "Task", ensuring only valid task identifiers are returned. The implementation handles both issues and tasks appropriately through its query logic.

components/jira/actions/get-transitions/get-transitions.mjs (3)

6-7: LGTM: Version bump and documentation update.

The version increment and documentation link update are appropriate maintenance changes.


43-60: LGTM: UI improvements for consistency.

The label capitalization changes improve visual consistency and enhance the user experience in the UI.


61-67: No issues found.

The "expand" propDefinition exists in jira.app.mjs and is correctly referenced. The custom description override appropriately provides context-specific guidance for the transitions action.

components/jira/actions/create-version/create-version.mjs (4)

5-7: LGTM! Metadata improvements for consistency.

The name capitalization, documentation link phrasing, and version bump are appropriate cosmetic improvements that enhance consistency across the codebase.


33-65: LGTM! Prop label and description improvements.

The label capitalizations (e.g., "Version Name", "Start Date", "Release Date") and description adjustments (removing unnecessary notes, trailing periods) improve consistency and clarity. The removal of "Required when creating a version." from the name prop description is appropriate since the required status is implicit.


1-85: Confirm scope: File unrelated to PR's primary objective.

This file modifies the create-version action, which doesn't directly address the PR's stated objective of fixing the jira-add-comment-to-issue action (issue #18840). While the AI summary mentions "Multiple Jira action components receive metadata updates," please confirm:

  1. Are these changes intentionally bundled to improve consistency across all Jira actions?
  2. Should these broader refactoring changes be in a separate PR to maintain focused, reviewable changes?

69-81: Confirm intentionality of parameter removal and align version bump strategy.

The released and moveUnfixedIssuesTo parameters are valid Jira API fields for version creation. The current code does not expose these as props or include them in the data payload to createVersion().

If these parameters were previously exposed to users in version 0.1.13 or earlier, their removal in 0.1.14 is a breaking change and requires a major version bump (not minor). If they were never exposed as user-facing props, then there is no breaking change concern.

Please clarify:

  1. Were released and moveUnfixedIssuesTo exposed as configurable props in any prior version?
  2. If yes, why were they removed and should this be a major version bump?
  3. If no, can you confirm the AI summary that claimed they were "removed" was inaccurate?
components/jira/actions/search-issues-with-jql/search-issues-with-jql.mjs (2)

7-7: Version bump looks good.

No functional changes in this file; bump to 0.1.2 is fine and consistent with a doc/metadata update.


102-118: Confirm pagination contract with jira.app.mjs (nextPageToken/isLast).

This assumes jira.searchIssues returns nextPageToken and isLast. Jira’s JQL search often uses startAt/maxResults. If jira.app.mjs doesn’t normalize to token pagination, this loop could stall or under-fetch.

  • Please confirm jira.app.mjs searchIssues returns { issues, nextPageToken, isLast } for this endpoint.
  • If not, we should switch to startAt pagination. I can draft that update quickly if needed.

Also applies to: 140-141

components/jira/actions/list-issue-comments/list-issue-comments.mjs (1)

6-7: LGTM on metadata polish

Description wording and "Order By" label alignment look good. Version bump consistent.

Also applies to: 33-34

components/jira/actions/add-comment-to-issue/add-comment-to-issue.mjs (1)

34-39: Good UX: comment prop + clear validation

Adding a plain-text comment prop and requiring one of comment/body resolves the original confusion.

Also applies to: 74-76

components/jira/actions/common/issue.mjs (1)

16-16: LGTM on copy edits

Descriptions read better and are consistent with other actions.

Also applies to: 24-25, 29-30

components/jira/actions/update-comment/update-comment.mjs (2)

35-43: PropDefinition for commentId is correct

Wires cloudId and issueIdOrKey for scoped options. Good.


90-92: Validation is appropriate

Guarding that either comment or body is present is correct.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
components/jira/jira.app.mjs (1)

89-90: Consider using "the issue" instead of "an issue" for consistency.

The genericized description addresses the past review comment, but the suggested wording was "The ID or key of the issue" rather than "an issue."

Apply this diff for exact alignment with the previous suggestion:

-      description: "The ID or key of an issue",
+      description: "The ID or key of the issue",
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 02c5678 and 676c8c0.

📒 Files selected for processing (2)
  • components/jira/actions/get-users/get-users.mjs (1 hunks)
  • components/jira/jira.app.mjs (8 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • components/jira/actions/get-users/get-users.mjs
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: pnpm publish
  • GitHub Check: Lint Code Base
  • GitHub Check: Publish TypeScript components
  • GitHub Check: Verify TypeScript components
🔇 Additional comments (4)
components/jira/jira.app.mjs (4)

59-59: LGTM!

Documentation improvement adds proper closing parenthesis.


124-124: LGTM!

Consistent label capitalization and removal of trailing periods improves documentation uniformity.

Also applies to: 157-157, 174-174, 225-225, 275-275


317-354: LGTM!

The commentId propDefinition is well-implemented with:

  • Proper pagination support
  • Early return when issueIdOrKey is missing
  • Error handling via try-catch
  • Appropriate fallback to comment.id when the ADF structure differs

This addresses the PR objectives by providing a new prop for comment-related actions.


92-102: Clarify: tasksOnly parameter is not currently used by any component.

The parameter was added to the issueIdOrKey propDefinition (line 92) and the conditional JQL logic is correct. However, no code in the codebase currently passes tasksOnly: true when using this property—it exists but is unused. Confirm whether this is intentional preparatory code or if the implementation is incomplete and needs to be wired into consuming components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] jira-add-comment-to-issue

1 participant